-
Notifications
You must be signed in to change notification settings - Fork 12
Improvements to grid- and restart-file loading #232
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
This file is generated by setuptools_scm, so does not need to be tracked by git.
BOUT++ does this, so add it for consistency.
Having an explicit exclude list rather than an include list means that we can still skip variables that are created by xBOUT, but include any scalar variables that a PhysicsModel might have added to restart files. Extra scalar variables in restart files should not (usually at least) do any harm, so the 'exclude' approach should cover more use cases correctly.
Allows using `drop_variables` argument, which is sometimes useful.
These are needed in order to apply geometry to the grid Dataset.
|
Hello @johnomotani! Thanks for updating this PR. We checked the lines you've touched for PEP 8 issues, and found: There are currently no PEP 8 issues detected in this Pull Request. Cheers! 🍻 Comment last updated at 2022-01-16 20:04:43 UTC |
Codecov Report
@@ Coverage Diff @@
## master #232 +/- ##
==========================================
- Coverage 75.91% 75.38% -0.54%
==========================================
Files 15 15
Lines 2745 2779 +34
Branches 655 668 +13
==========================================
+ Hits 2084 2095 +11
- Misses 425 442 +17
- Partials 236 242 +6
Continue to review full report at Codecov.
|
Pulled out from #231 because they may be independently useful, so useful to merge before #231 is finished.